---
layout: single
elementName: q
---

<section id="q" class="element">
  <header class="element-header">
    <nav class="element-links">
        <span>
          Type: <strong>inline</strong>
        </span>
      <span>
        Self-closing:
        <strong>
            No
        </strong>
      </span>
      <a class="element-links-direct" href="{{site.url}}/element/q/" data-element-name="q" data-tooltip="Single page for this element">Permalink</a>
      <a class="element-share" data-tooltip="Share on Twitter or Facebook" data-element-name="q">Share</a>
      <a target="_blank" href="https://developer.mozilla.org/en/docs/Web/HTML/Element/q" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
    </nav>
    <h2 class="element-name">
      <a href="#q">
        <span>#</span>
        q
      </a>
    </h2>
    <div class="element-description">
      <p>Defines a <strong>short quotation</strong>.</p>

    </div>
  </header>

      <div id="q-example-0" class="example">
        <p class="example-label">
          <strong>Example:</strong>
          <a class="example-clipboard" data-tooltip="Click to copy code" data-clipboard-target="#q-example-0-code">Copy</a>
        </p>
        <article class="example-preview">
            <div class="example-output">He looks around and says <q cite="https://en.wikiquote.org/wiki/The_Terminator">I'll be back</q>.</div>
          <div id="q-example-0-code" class="example-code">{% highlight html %}He looks around and says <q cite="https://en.wikiquote.org/wiki/The_Terminator">I'll be back</q>.{% endhighlight %}</div>
        </article>
      </div>

    <article id="q-cite" class="attribute">
      <header class="attribute-header">
        <h3 class="attribute-name">
          <code class="tag" data-tooltip="Click to copy" data-clipboard-text="cite">
            cite
          </code>
        </h3>
        <div class="attribute-description">
          <p>Defines the source URL of the quotation.</p>

        </div>
      </header>

      <div class="attribute-values">
          <article id="q-cite-httpsenwikiquoteorgwikithe_terminator" class="value">
            <header class="value-header">
                <h4 class="value-name">
                  <code class="tag" data-tooltip="Click to copy cite=&quot;https://en.wikiquote.org/wiki/The_Terminator&quot;" data-clipboard-text="cite=&quot;https://en.wikiquote.org/wiki/The_Terminator&quot;">
                      "https://en.wikiquote.org/wiki/The_Terminator"
                  </code>
                </h4>
              <div class="value-description">
                <p>You can only use a valid URL.</p>

              </div>
            </header>
            <aside class="value-preview">
              <div class="value-output"><q  cite="https://en.wikiquote.org/wiki/The_Terminator"></q></div>
            </aside>
          </article>
      </div>
    </article>
</section>
